﻿
@{
    ViewBag.Title = "欢迎进入后台管理";
    Layout = "~/Views/Shared/_BackStageLayout.cshtml";
}
<div id="content" class="content">
    <div class="panel panel-inverse" data-sortable-id="form-validation-1">
        <div class="panel-heading">
            <h4 class="panel-title">添加系统用户</h4>
        </div>
        <div class="panel-body panel-form">
            <form class="form-horizontal form-bordered" method="post" data-parsley-validate="true" name="demo-form" >
                <div class="form-group">
                    <label class="control-label col-md-4 col-sm-4" for="name">姓名 * :</label>
                    <div class="col-md-2 col-sm-2">
                        <input class="form-control" type="text" id="name" name="name" placeholder="Required" data-parsley-required="true" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-md-4 col-sm-4" for="account">帐号 * :</label>
                    <div class="col-md-2 col-sm-2">
                        <input class="form-control" type="text" id="account" name="account"  placeholder="Account" data-parsley-required="true" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-md-4 col-sm-4" for="password">密码 * :</label>
                    <div class="col-md-2 col-sm-2">
                        <input class="form-control" type="password" id="password" name="password"  placeholder="Password" data-parsley-required="true"  />
                    </div>
                </div>
                <div class="form-group">
                    <label class="control-label col-md-4 col-sm-4" for="phone">手机号 * :</label>
                    <div class="col-md-2 col-sm-2">
                        <input class="form-control" id="phone" name="phone"  placeholder="phone" data-parsley-required="true" />
                    </div>
                </div>
               
                <div class="form-group">
                    <label class="control-label col-md-4 col-sm-4"></label>
                    <div class="col-md-6 col-sm-6">
                        <button type="submit" class="btn btn-primary">添加</button>
                        <button type="button" class="btn btn-warning" onclick="history.go(-1);">返回</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!-- end row -->
</div>

@section footer {

<script src="/Content/assets/plugins/parsley/dist/parsley.js"></script>
    <script>
    $(document).ready(function () {
			App.init();
		});
    </script>
}
